﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm_Menu.aspx.cs" Inherits="WMS6.Web.WebForm_Menu" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>PowerWMS6</title>
    <link href="style/zh/1/css.css" type="text/css" />
    <script type="text/javascript" src="Js/jquery-1.3.1.js"></script>
    <script type="text/javascript" src="Js/jquery.cookie.js"></script>
    <script type="text/javascript">
        var xmlhttp;
        function createXMLHttpRequest() 
        {
            if (window.XMLHttpRequest) {
                xmlhttp = new XMLHttpRequest();
            }
            if (!xmlhttp && window.ActiveXObject) {
                try {
                    xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.5.0")
                }
                catch (e) {
                    try {
                        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.4.0")
                    }
                    catch (e) {
                        try {
                            new ActiveXObject("Msxml2.XMLHTTP")
                        }
                        catch (e) {
                            try {
                                new ActiveXObject("Microsoft.XMLHTTP")
                            }
                            catch (e) {

                            }
                        }
                    }
                }
            }
        }
        function NameAuthentication(url) 
        {
            createXMLHttpRequest();
            var Url = "Common/MenuAjax.aspx?TYPE=GET" ;
            xmlhttp.onreadystatechange = handleStateChange;
            xmlhttp.open("GET", Url, true);
            xmlhttp.send(null);


        }
        function handleStateChange() {
            if (xmlhttp.readyState == 4) {
                if (xmlhttp.status == 200) 
                {
                    document.getElementById('MenuDiv').innerHTML=xmlhttp.responseText;
                }
            }
        }
       
</script>
<script type="text/javascript">
    function MenuClick(obj) 
    {
        obj.style.backgroundImage = "url(images/navigation_tree_expanded.gif)";
        $(obj).next().slideToggle(300).siblings("ul").slideUp("slow");
    }

</script>
</head>
<body onload="NameAuthentication();" class="ui">
    <form id="form1" runat="server" >
    <div id="MenuDiv" class="nav">
    </div>
    </form>
</body>
</html>
